package com.hu.config;

public class Config {

    private String title;
    private String link;
    private String excelPath;

    private Integer runCount;

    private String proxyClickPoses;

    private String ipText;

    private String[] posArr;

    public Config(String title, String link) {
        this.title = title;
        this.link = link;
    }

    public Config() {
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getExcelPath() {
        return excelPath;
    }

    public void setExcelPath(String excelPath) {
        this.excelPath = excelPath;
    }

    public Integer getRunCount() {
        return runCount;
    }

    public void setRunCount(Integer runCount) {
        this.runCount = runCount;
    }

    public String getProxyClickPoses() {
        return proxyClickPoses;
    }

    public void setProxyClickPoses(String proxyClickPoses) {
        this.proxyClickPoses = proxyClickPoses;
        if(proxyClickPoses != null){
            posArr = proxyClickPoses.split("\\|");
        }
    }

    public String[] getPosArr() {
        return posArr;
    }

    public String getIpText() {
        return ipText;
    }

    public void setIpText(String ipText) {
        this.ipText = ipText;
    }
}
